<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ include file="../general/header.jsp" %>
	<div id="header">Seller Confirmation</div>
	<%@ include file="../general/menu.jsp" %>
	<div id="left">
		<form:form method="POST" action="../purchase/confirmItemSeller" commandName="confirmationForm">

			<input type="hidden" id="id" name="purchaseId" value="${purchase.id}" >
			<span>Confirmation: </span>
			<form:select path="confirmation" id="confirmation" name="confirmation">
				<form:option value="notyetconfirm" label="Not yet confirmed"/>
				<form:option value="realize" label="Realized" />
				<form:option value="dontrealize" label="Not realized" />
			</form:select>
			<form:errors path="confirmation" />
			<br />
			<br />
			<span>Commission: <c:out value="${commission}"/></span>
			<br />
			<input type="submit" value="Confirm !" />
		</form:form>
	</div>
<div style="clear:both;"></div>
<div id="bottom">
	<a href="../general/index">Go Back to Index</a>
</div>
<%@ include file="../general/footer.jsp" %>
